<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="layout" content="main" />
<title>Show PSP Data
</title>
</head>
<body>
<div class="nav"><span class="menuButton"><a class="home"
	href="${createLink(uri: '/pspData')}">PSP Data </a> ${session.project.name} -> ${task.name} -> ${user.username}</span></div>
<div class="list">
<table>
	<thead>
		<tr>
			<th>Task Name</th>
			<th>Phase</th>
			<th>Start Date</th>
			<th>Actual Time in mins</th>
			<th>Interrupt Time in mins</th>
		</tr>
	</thead>
	<tbody>
		<g:each in="${pspDataList}" status="i" var="pspdata">
			<tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
				<td>
				${pspdata.task.name}
				</td>
				<td>
				${fieldValue(bean: pspdata, field: "phaseName")}
				</td>
				<td><g:formatDate date="${pspdata.startDate}" /></td>
				<td>
				${fieldValue(bean: pspdata, field: "actualTimeInMin")}
				</td>
				<td>
				${fieldValue(bean: pspdata, field: "interuptTimeInMin")}
				</td>
			</tr>
		</g:each>
	</tbody>
</table>
</div>
</body>
</html>
